shell and subshell definition